/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  nav {
    width: 100%;
    background-color: hsl(204, 41%, 17%);
    color: white;
    text-align: center;
    padding: 1rem;
  }
  
  nav h1 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    width: 100%;
  }
  
  header h1 {
    font-size: 1.8rem;
    margin: 0;
  }
  
  .publications {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .post {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    cursor: pointer;
    width: 700px; /* Ancho fijo */
    height: 100px; /* Altura fija (ajustar según sea necesario) */
  }
  
  .post:hover {
    background-color: #f0f0f0; /* Efecto gris al pasar el cursor */
  }
  
  .post img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
  }
  
  .post .content {
    flex: 1;
  }
  
  .post .content h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #007acc;
  }
  
  .post .content p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #555;
  }
  
  .meta {
    font-size: 0.8rem;
    color: #888;
  }
  
  .meta span {
    margin-right: 1rem;
  }
  
  /* Footer Styles */
  footer {
    text-align: center;
    padding: 1rem;
    background-color: hsl(204, 43%, 14%);
    color: white;
    width: 100%;
    font-size: 0.8rem;
  }

  /* Quitar estilos del enlace */
a.post-link {
    text-decoration: none; /* Sin subrayado */
    color: inherit; /* Mantiene el color original del texto */
    display: block; /* Hace que el <a> envuelva todo el div */
}

a.post-link:hover .post {
    background-color: #e0e0e0; /* Cambia el color del fondo cuando el usuario pasa el cursor sobre el enlace */
}

  